package net.sky.oa.test.action.system;

import javax.annotation.Resource;

import net.sky.oa.action.system.SysLogingAction;
import net.sky.oa.test.BaseActionTestCase;

import org.junit.Before;
import org.junit.Test;
import org.springframework.test.annotation.Rollback;

public class SysLogingtActionTestCase extends BaseActionTestCase {

	@Resource
	private SysLogingAction sysLogingAction;

	@Before
	public void setUp() {
		super.setUp();
	}

	@Test
	@Rollback(false)
	public void add() {
		request.addParameter("key", "白沙岭");
		//sysLogingAction.add();
	}
	@Test
	@Rollback(false)
	public void save() {
	}

	@Test
	@Rollback(false)
	public void find() {
		String result = sysLogingAction.list();
		System.out.println("result:" + result);
		System.out.println("result:" + sysLogingAction.getJsonString());
	}
}